%html
 %head
  %title index
 %body
  %h1 New Post
  = form_for @blog_post do |f|
   %p
    = f.label :title
    = f.text_field :title
   %p
    = f.label :content
    = f.text_area :content
   %p
    = f.submit 'Save'
 
  = link_to 'Back', blog_posts_path
 